<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>接单</title>
</head>
<body>
<div align="center">
    <form action="/index.php?c=driver&a=recive&id=<?php echo ($attr["id"]); ?>" method="post">
        <div>订单编号：<input type="text" name="number" value="<?php echo ($attr["number"]); ?>" disabled/></div>
        <div>订单号：<input type="text" name="order_number" value="<?php echo ($attr["order_number"]); ?>" disabled/></div>
        <div>创建时间：<input type="text" name="create_time" value="<?php echo ($attr["create_time"]); ?>" disabled/></div>
        <div>出发时间：<input type="text" name="departure_time" value="<?php echo ($attr["departure_time"]); ?>" disabled/></div>
        <div>出车车牌号：<input type="text" name="car_plate_number" value="<?php echo ($attr["car_plate_number"]); ?>"/></div>
        <div>目的地：<input type="text" name="destination" value="<?php echo ($attr["destination"]); ?>" disabled/></div>
        <div>订单状态： <?php if(($attr["order_status"]) == "0"): ?><td>未接单</td><?php endif; ?>
            <?php if(($attr["order_status"]) == ""): ?><td>未定义</td><?php endif; ?>
            <?php if(($attr["order_status"]) == "1"): ?><td>已接单</td><?php endif; ?>
            <?php if(($attr["order_status"]) == "2"): ?><td>已结束</td><?php endif; ?></div>
        <div>接单司机编号：<input type="text" name="user_number" value="<?php echo ($id); ?>" disabled/></div>
        <div>提货单号：<input type="text" name="pick_number" value="<?php echo ($attr["pick_number"]); ?>"/></div>
        <div>合同号：<input type="text" name="contract_number" value="<?php echo ($attr["contract_number"]); ?>"/></div>
        <div>缺货信息：<input type="text" name="short_supply_info" value="<?php echo ($attr["short_supply_info"]); ?>"/></div>
        <div>提货数量：<input type="text" name="delivery_quantity" value="<?php echo ($attr["delivery_quantity"]); ?>"/></div>
        <div>提货时间：<input type="text" name="delivery_time" value="<?php echo ($attr["delivery_time"]); ?>"/></div>
        <div>结算单位：<input type="text" name="settle_company" value="<?php echo ($attr["settle_company"]); ?>"/></div>
        <input type="submit" value="接单"/>
        <a href="/index.php?c=driver&a=orderpool">返回</a>
        <a></a>
    </form>
</div>
</body>
</html>